package com.tledu.production.model.system;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户类
 *
 * @author Antg
 * @date 2021/8/15  20:34
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysUser {
    private String id;
    private String username;
    private String password;
    private Character locked;//账号是否锁定，1：锁定，0未锁定

    private SysRole sysRole;//角色
    private String roleId;//角色id

    private String urId;//关联表id

    public SysUser(String username, String password) {
        this.username = username;
        this.password = password;
    }
}
